<?php

/**
 * 菜单信息
 */
return [
  [
    'title' => '首页',
    'icon' => 'fa fa-fw fa-home',
    'url_type' => 'module_admin',
    'url_value' => 'admin/index/index',
    'url_target' => '_self',
    'online_hide' => 0,
    'sort' => 1,
    'status' => 1,
    'child' => [
      [
        'title' => '快捷操作',
        'icon' => 'fa fa-fw fa-folder-open-o',
        'url_type' => 'module_admin',
        'url_value' => '',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 1,
        'status' => 1,
        'child' => [
          [
            'title' => '后台首页',
            'icon' => 'fa fa-fw fa-tachometer',
            'url_type' => 'module_admin',
            'url_value' => 'admin/index/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 1,
            'status' => 1,
            'child' => [
              [
                'title' => '检查版本更新',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/index/checkupdate',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
            ],
          ],
          [
            'title' => '清空缓存',
            'icon' => 'fa fa-fw fa-trash-o',
            'url_type' => 'module_admin',
            'url_value' => 'admin/index/wipecache',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 3,
            'status' => 1,
          ],
          [
            'title' => '消息中心',
            'icon' => 'fa fa-fw fa-comments-o',
            'url_type' => 'module_admin',
            'url_value' => 'admin/message/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 4,
            'status' => 1,
            'child' => [
              [
                'title' => '删除',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/message/delete',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '启用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/message/enable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
            ],
          ],
        ],
      ],
    ],
  ],
  [
    'title' => '系统',
    'icon' => 'fa fa-fw fa-gear',
    'url_type' => 'module_admin',
    'url_value' => 'admin/log/index',
    'url_target' => '_self',
    'online_hide' => 0,
    'sort' => 4,
    'status' => 1,
    'child' => [
      [
        'title' => '系统功能',
        'icon' => 'si si-wrench',
        'url_type' => 'module_admin',
        'url_value' => '',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 1,
        'status' => 1,
        'child' => [
          [
            'title' => '系统设置',
            'icon' => 'fa fa-fw fa-wrench',
            'url_type' => 'module_admin',
            'url_value' => 'admin/system/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 1,
            'status' => 1,
            'child' => [
              [
                'title' => '快速编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/system/quickedit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
            ],
          ],
          [
            'title' => '配置管理',
            'icon' => 'fa fa-fw fa-gears',
            'url_type' => 'module_admin',
            'url_value' => 'admin/config/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 2,
            'status' => 1,
            'child' => [
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/config/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/config/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
              [
                'title' => '删除',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/config/delete',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 3,
                'status' => 1,
              ],
              [
                'title' => '启用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/config/enable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 4,
                'status' => 1,
              ],
              [
                'title' => '禁用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/config/disable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 5,
                'status' => 1,
              ],
              [
                'title' => '快速编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/config/quickedit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 6,
                'status' => 1,
              ],
            ],
          ],
          [
            'title' => '节点管理',
            'icon' => 'fa fa-fw fa-bars',
            'url_type' => 'module_admin',
            'url_value' => 'admin/menu/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 3,
            'status' => 1,
            'child' => [
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/menu/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/menu/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
              [
                'title' => '删除',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/menu/delete',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 3,
                'status' => 1,
              ],
              [
                'title' => '启用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/menu/enable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 4,
                'status' => 1,
              ],
              [
                'title' => '禁用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/menu/disable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 5,
                'status' => 1,
              ],
              [
                'title' => '保存',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/menu/save',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 6,
                'status' => 1,
              ],
            ],
          ],
          [
            'title' => '附件管理',
            'icon' => 'fa fa-fw fa-cloud-upload',
            'url_type' => 'module_admin',
            'url_value' => 'admin/attachment/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 4,
            'status' => 1,
            'child' => [
              [
                'title' => '下载',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/attachment/download',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '启用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/attachment/enable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
              [
                'title' => '禁用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/attachment/disable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 3,
                'status' => 1,
              ],
              [
                'title' => '删除',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/attachment/delete',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 4,
                'status' => 1,
              ],
            ],
          ],
          [
            'title' => '行为管理',
            'icon' => 'fa fa-fw fa-bug',
            'url_type' => 'module_admin',
            'url_value' => 'admin/action/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 6,
            'status' => 1,
            'child' => [
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/action/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/action/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
              [
                'title' => '启用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/action/enable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 3,
                'status' => 1,
              ],
              [
                'title' => '禁用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/action/disable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 4,
                'status' => 1,
              ],
              [
                'title' => '删除',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/action/delete',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 5,
                'status' => 1,
              ],
              [
                'title' => '快速编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/action/quickedit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 6,
                'status' => 1,
              ],
            ],
          ],
          [
            'title' => '数据库管理',
            'icon' => 'fa fa-fw fa-database',
            'url_type' => 'module_admin',
            'url_value' => 'admin/database/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 7,
            'status' => 1,
            'child' => [
              [
                'title' => '备份数据库',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/database/export',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '还原数据库',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/database/import',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
              [
                'title' => '优化表',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/database/optimize',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 3,
                'status' => 1,
              ],
              [
                'title' => '修复表',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/database/repair',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 4,
                'status' => 1,
              ],
              [
                'title' => '删除备份',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/database/delete',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 5,
                'status' => 1,
              ],
            ],
          ],
        ],
      ],
      [
        'title' => '扩展中心',
        'icon' => 'si si-social-dropbox',
        'url_type' => 'module_admin',
        'url_value' => '',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 2,
        'status' => 1,
        'child' => [
          [
            'title' => '模块管理',
            'icon' => 'fa fa-fw fa-th-large',
            'url_type' => 'module_admin',
            'url_value' => 'admin/module/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 1,
            'status' => 1,
            'child' => [
              [
                'title' => '导入',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/module/import',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '导出',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/module/export',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
              [
                'title' => '安装',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/module/install',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 3,
                'status' => 1,
              ],
              [
                'title' => '卸载',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/module/uninstall',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 4,
                'status' => 1,
              ],
              [
                'title' => '启用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/module/enable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 5,
                'status' => 1,
              ],
              [
                'title' => '禁用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/module/disable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 6,
                'status' => 1,
              ],
              [
                'title' => '更新',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/module/update',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 7,
                'status' => 1,
              ],
            ],
          ],
          [
            'title' => '插件管理',
            'icon' => 'fa fa-fw fa-puzzle-piece',
            'url_type' => 'module_admin',
            'url_value' => 'admin/plugin/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 2,
            'status' => 1,
            'child' => [
              [
                'title' => '导入',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/plugin/import',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '导出',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/plugin/export',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
              [
                'title' => '安装',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/plugin/install',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 3,
                'status' => 1,
              ],
              [
                'title' => '卸载',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/plugin/uninstall',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 4,
                'status' => 1,
              ],
              [
                'title' => '启用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/plugin/enable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 5,
                'status' => 1,
              ],
              [
                'title' => '禁用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/plugin/disable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 6,
                'status' => 1,
              ],
              [
                'title' => '设置',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/plugin/config',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 7,
                'status' => 1,
              ],
              [
                'title' => '管理',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/plugin/manage',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 8,
                'status' => 1,
              ],
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/plugin/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 9,
                'status' => 1,
              ],
              [
                'title' => '编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/plugin/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 10,
                'status' => 1,
              ],
              [
                'title' => '删除',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/plugin/delete',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 11,
                'status' => 1,
              ],
              [
                'title' => '执行',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/plugin/execute',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 12,
                'status' => 1,
              ],
              [
                'title' => '快速编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/plugin/quickedit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 13,
                'status' => 1,
              ],
            ],
          ],
          [
            'title' => '钩子管理',
            'icon' => 'fa fa-fw fa-anchor',
            'url_type' => 'module_admin',
            'url_value' => 'admin/hook/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 3,
            'status' => 1,
            'child' => [
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/hook/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/hook/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
              [
                'title' => '删除',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/hook/delete',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 3,
                'status' => 1,
              ],
              [
                'title' => '启用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/hook/enable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 4,
                'status' => 1,
              ],
              [
                'title' => '禁用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/hook/disable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 5,
                'status' => 1,
              ],
              [
                'title' => '快速编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/hook/quickedit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 6,
                'status' => 1,
              ],
            ],
          ],
          [
            'title' => '数据包管理',
            'icon' => 'fa fa-fw fa-database',
            'url_type' => 'module_admin',
            'url_value' => 'admin/packet/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 4,
            'status' => 1,
            'child' => [
              [
                'title' => '安装',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/packet/install',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '卸载',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/packet/uninstall',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
            ],
          ],
          [
            'title' => '图标管理',
            'icon' => 'fa fa-fw fa-tint',
            'url_type' => 'module_admin',
            'url_value' => 'admin/icon/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 5,
            'status' => 1,
            'child' => [
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/icon/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/icon/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
              [
                'title' => '删除',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/icon/destroy',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 3,
                'status' => 1,
              ],
              [
                'title' => '启用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/icon/enable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 4,
                'status' => 1,
              ],
              [
                'title' => '禁用',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/icon/disable',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 5,
                'status' => 1,
              ],
              [
                'title' => '快速编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/icon/quickedit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 6,
                'status' => 1,
              ],
              [
                'title' => '图标列表',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/icon/items',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 7,
                'status' => 1,
              ],
              [
                'title' => '更新图标',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'admin/icon/reload',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 8,
                'status' => 1,
              ],
            ],
          ],
        ],
      ],
    ],
  ],
];
